home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / Q-R / Recipe Demo / Recipe Demo Guide next >
Encoding:
Text File  |  1993-03-07  |  22.1 KB  |  231 lines  |  [ttro/ttxt]

  1. Recipe Master™ Demo, Version 1.1
  2.  
  3. Create, Analyze and Store Your Recipes
  4.  
  5. for HyperCard™ and the Macintosh™
  6.  
  7. By Richard D. Lasky, Ph. D.
  8.  
  9. A product of:
  10.  
  11. Big Byte Software
  12. 20907 High Country Dr.
  13. Daimond Bar, CA 91789
  14. (909) 595-5549
  15.  
  16. ©1993 by Big Byte Software
  17. This demo may be distributed to anyone who is interested, provided that the documentation and program are not altered.  Recipe Master  and the Big Byte Logo are trademarks of Big Byte Software. HyperCard  and Macintosh  are trademarks of Claris Corporation and Apple Computer, Inc., respectively.
  18.  
  19. XCMD's and XFCN's
  20.  
  21. MTSort is used under license from:
  22. Manor of Micro, Inc.
  23. 6827 Black Duck Circle
  24. Lino Lakes, MN 55014
  25.  
  26. The ShowDialog and Progress XCMD's are used under 
  27. license from:
  28. Jay Hodgdon
  29. Ignatz Software
  30. 587 Cutwater Lane
  31. Foster City, CA 94404
  32.  
  33. FileName and NewFileName are creations of:
  34. Andrew Gilmartin
  35. Brown University
  36. Distributed by BMUG
  37.  
  38. Introduction
  39. Preface
  40. Welcome to the Recipe Master demo. The program consists of two HyperCard stacks that are designed to work in concert: Recipe Master and Recipe File. Recipe Master will enable the user to enter recipes, and will show the nutritional content of the recipe. The full version of this program, which is available for $59.00, contains data for over 2,000 foods from the latest release of the USDA Handbook 8. Individual foods, as well as whole categories, may be added or deleted by the user. The nutrient data for each food in the database may also be edited. The Recipe File stack provides a place to store recipes along with their instructions and nutritional data. Recipes may be searched by keyword. 
  41.  
  42. This guide provides the user with detailed instructions. The program is very easy to use, and “Help” buttons (identified with a question mark icon) are available from most cards in the stack.
  43. System Requirements
  44. In order to use this demo you will need the following:
  45. Version 1.2 or 2.x of HyperCard
  46. A hard disk with at least 300 K of free space
  47. 1 Mb of memory (required by HyperCard)
  48. If you are using an earlier version of HyperCard, see your Apple dealer for an upgrade to the latest version.
  49.  
  50. Before You Start
  51. Copy the Recipe Master Demo, and Recipe File stacks to your hard disk.  
  52.  
  53. Getting Started
  54. Starting Up the Program
  55. Start by double-clicking the Recipe Master Demo file from the Finder. If you are already in HyperCard, you may use the “Open Stack” command under the File menu. You will see the Opening Card.
  56.  
  57. You may notice that the menu bar disappears as soon as you enter Recipe Master. I have deliberately hidden the menu bar as I needed the space on Plus's, SE's and Classics. Those wishing to access the menu bar may do so by simply pressing the command-space bar combination. Repeat this action to hide it again.
  58.  
  59. Click on the Make Recipes button to go the Recipe Maker card, where you will be able to enter the ingredients for your recipe, as described in the next section. The Edit Ingredients button is used to edit the database of food ingredients, as described below. Items may be deleted, new items may be added. Categories may be deleted or added. The nutrient data may even be edited. 
  60.  
  61. Click on the Open Recipe... button to go to a Recipe File. Recipe files are used to store recipes along with their cooking instructions and nutrient data. A sample Recipe File has been provided. It contains a single recipe. New recipe files may be created from either the finder or from within Recipe Maker. From the finder, select the file “Recipe File.” Then select the “Duplicate” command from the “File” menu. Change the name of the new file from “Copy of Recipe File” to whatever you wish. 
  62. To start a new recipe file from Recipe Maker, open the Recipe Maker stack using the Open Recipe... button. Then press command-space bar to show the menu bar. Select the New Stack... command from the File menu. Type in the name of your new recipe file, leave the Copy Current Background option checked, and click OK. 
  63.  
  64. The Nutrient Profile button takes you to a card where the nutrient content of individual ingredients may be examined. This button is also found on the Recipe Maker card. After selecting an ingredient and inspecting its nutrient content, you have the option of adding the selection to the current recipe on the Recipe Maker card. Click on the Compare Foods button to get a side-by-side comparison of the nutrient compositions of two foods. The data is presented in a table and a bar graph.
  65.  
  66. The Quit button will quit HyperCard and return you to the Finder. The button shaped like a house will take you to HyperCard’s “Home” card. The button shaped like a tiny pocket calculator takes you to a Conversion Calculator card, for converting between metric and American units of measures. The button with the question mark provides help information the functions of the various buttons on the card.
  67.  
  68. Using Recipe Maker
  69. Entering Your Recipe
  70. Click on the Make Recipes button. This takes you to the Recipe Maker card, where the ingredients for your new recipe will be entered.  Begin by entering the name of your recipe in the space provided. The click on the “Add to List” button to begin selecting the ingredients. You will then be asked if you want to locate the ingredient by category or by doing a String Search.
  71.  
  72. If you choose String Search, you may enter one or more key words to search for, and Recipe Maker will locate each food entry in the database that contains both words. The more specific the word, the better. If there are many occurrences of the first key word entered, this may take a minute to complete. You will then be given a list of matching ingredients to choose from. You may select a single food by clicking on it. Additional selections are allowed by holding down the shift key while clicking on subsequent choices. When you have finished your selections, click the “OK” button. Click the “Cancel” button to halt and abandon the selections.
  73.  
  74. When ordering by categories, you will be presented with a list of categories to choose from. Note that you may make multiple selections by shif-clicking on subsequent choices. After selecting one or more categories, you will be presented with a list of ingredients for each category selected. Again, you may choose more than one ingredient from each category. You will then be asked to choose one of up to four different portion measures for each ingredient chosen. Only one choice is allowed. Then you will be asked how many of these portions you wish to choose for each ingredient. You must enter a valid number. Clicking the “Cancel” button will abort the selection.
  75.  
  76. After each selection is completed, the ingredients are added to the ingredient list on the Recipe Maker card. The total weight of ingredients is also given in both grams and ounces. This information may be useful when calculating the yield of a recipe.
  77.  
  78. Making Changes
  79. You may change the amount of any ingredient, or delete that ingredient from the list, and the nutrient totals will be adjusted accordingly.  Simply click once on the line of the ingredient you want to change or delete, and follow the instructions.
  80.  
  81. Scaling Recipes
  82. To scale a recipe up or down, click on the “Scale Recipe...” button.  You will be asked for the scale factor.  Enter a number.  For example you would enter “2” to double a recipe, or “0.5” to cut an recipe in half.  You may enter the number in a fractional form (e.g. “1/2”) but any non-numerical entry will not be accepted.  After entering the scale factor and clicking the “OK” button,  the program will take a few seconds to recalculate the nutrient totals.  Then the display of the card will be changed to reflect the new recipe.  The values for the amount of each ingredient will be adjusted, and the total nutrients per recipe will be adjusted.  Note that the number of portions per recipe will also be scaled up or down by the same factor, so that the nutrients/portion values will remain the same.  The number of portions/recipe may be changed at any time by entering a new number in that field.
  83.  
  84. Nutrient Composition
  85. After entering some or all of the ingredients for your recipe, you may get the nutrient composition of the recipe by clicking on the “Nutrients” button. You will have a choice of seeing the nutrient content for the total recipe, or per portion. If you choose per portion, you must fill in the portion definition and the number of portions per recipe in the spaces provided. You will then be taken to a card that looks has a table of nutrients displayed.
  86.  
  87. A print-out of this screen may be performed by clicking on the “Print Data” button. Be sure to turn on your printer first. Click the “Return” arrow at the lower right-hand corner of the screen to return to the Recipe Maker card.
  88.  
  89. Generating Reports
  90. After entering a new recipe in the Recipe Maker card, you may generate a text report of the recipe. The report will include the list of ingredients,  and the nutrient content of the recipe. After filling in all of the information for the recipe, click on the Make Report button and select which of the 24 nutrients in the list you want included in your report. Shift-click for multiple selections. After you make your selections, there will be a short pause while the report is generated. You will then be asked to name the text file to be created. The report will be a text file that may be opened with TeachText, MS Word, MacWrite, or any other word processor. You will be asked if you want to print a copy now.  If so, the report will be printed using “TeachText”, which should be on your disk as part of the system software from Apple.  
  91.  
  92. A copy of the report may be viewed by clicking on the “Show Report” button. The nutrient analysis is presented as a tab-delimited table. Each line in the table contains the name of the nutrient, the units, amount per portion, and total amount in the recipe. The items are separated by tabs, which facilitates importing the data to a spread sheet or database program. You may have adjust the tab settings in your word processor to get the columns of the table to align properly.
  93.  
  94. Adding Recipes to Recipe File
  95. After all of the ingredients for a recipe are entered in the Recipe Maker card, you have the option of storing the recipe in a Recipe File, where cooking instructions may be added. To do this, click on the Add Recipe... button. You will be presented with an Open File dialog showing only HyperCard stacks. Select Recipe File, or any copy of the Recipe File that you have made. If you select a stack that is not a recipe file, Recipe Master detects this and will give you an error message. The selected Recipe File will open, a new card will be made and the ingredients and nutrient information will be entered automatically. Note that the Instructions field will be empty. You may type in the cooking instructions into this field and they will be stored with your recipe and printed out with any report (see the next section).
  96.  
  97. Using the Recipe File
  98. Basic Navigation
  99. Users who are familiar with HyperCard know that there are many ways to go from card to card and stack to stack. In the Recipe Maker, navigation is strictly controlled by the various buttons. 
  100.  
  101. Please do not attempt to deviate from this navigational path, as you may get various error messages. 
  102.  
  103. While in the recipe file, you will use the arrow buttons at the top of the card to move from card to card. The left and right pointing arrow buttons take you to the previous and next recipe in the file, respectively. Click on the Sort button to sort recipes alphabetically by title. Click on the Search button to search for recipes with a word or pharse. After entering the text to search for, there will be a short pause. If the text is found in one or more recipes, you will be presented with a list of recipe titles that contain the text. Choose a recipe title to go to that recipe. 
  104.  
  105. Click on the Tell About button (shaped like a little balloon) at the top of the recipe card to return to the Recipe Master opening card. The Return Arrow button at the bottom of the card takes you back to the place you came from. If you started by double clicking on the recipe file from the finder, this button will take you to HyperCard’s Home card. The functions of the other buttons will be described in the sections below. The Delete Recipe button should only be used if  you are sure you want to delete the recipe shown on the current card. Use this button with caution; you cannot undo this action. Note that the last remaining recipe in a recipe file will not delete.
  106.  
  107.  
  108. To add a recipe to the file, click on the New Recipe button. You will be taken to the Recipe Maker card, where new recipes are entered by selecting the ingredients. See the preceding section for instructions on entering your new recipe and adding it to a recipe file. The funtions of the remaining buttons in the Recipe File are explained in the following section.
  109.  
  110. Change Recipe...
  111. This button will transfer a copy of the recipe you are viewing to the Recipe Maker card.  There you may change the recipe as described in above.  After making your changes, click on the “Add Recipe” button to store this new recipe in a Recipe File.
  112.  
  113. Shopping List
  114. Click on this button to generate a shopping list from one or more recipes in the Recipe File.  You will be given a list of recipes in the file to select from.  Click on one recipe, or shift-click to select more than one.  The ingredients for each selected recipe will be included on the shopping list.  You will be asked for a file name and a loctation to save the text file generated on disk.  You will be asked if you wish to print a copy now.  If so, the shopping list will be printed using TeachText.  You will then be returned to the Recipe File.  The text copy of the shopping list may be opened by any word processor for editing or printing.
  115.  
  116. Nutritional Analyses
  117. Summary in Recipe Display
  118. A brief summary of the nutritional content for each recipe in the recipe file is shown on the right side of the card. The two “Radio” buttons bellow the table control whether the nutrient totals for the whole recipe or per portion are displayed. The calorie count is dispayed in units of kilocalories (Kcal). Do not be confused by this. A kilocalorie is equal to the “calorie” commonly refered to in diet plans and nutritional information printed on food containers. The amounts of protein, carbohydrate and fats are all listed in grams. The amount of total Cholesterol in shown, in milligrams. PLEASE NOTE:  this is a measure of the dietary cholesterol of the recipe, NOT a measure of the cholesterol level in your blood. Consult your physician to find out what your blood cholesterol level is, and what it means to you. Certainly, many people should avoid a high cholesterol diet.
  119.  
  120. Finally, the amount of sodium is listed. The sodium values are listed both in milligrams, and milliequivalents, for the convenience of those users who wish to monitor their dietary sodium.
  121.  
  122. More Nutrients
  123. A more detailed nutritional analysis of the recipe may be obtained by clicking on the Nutrients button. You must choose to display either the total nutrients per recipe or per portion. The nutritional display is identical to the one shown on page 7. Click on the Return Arrow button on the lower right-hand corner of the screen to return to your recipe file.
  124.  
  125. Analysis of Individual Foods
  126. Nutrient Profiles
  127. An analysis of the nutrients in any single food in the Recipe Master database may be obtained by clicking on the Nutrient Profile button. This button is found on the opening card of Recipe Master as well as on the Recipe Maker card. The button brings you to the Nutrient Profile card.  Click on the Select Food button to choose the food to analyze. You will be asked to select a menu category, then to choose a food from the category you select. You will also be asked to choose a portion size. After a pause for a few seconds, the data will be displayed in the tables. Note that the amounts displayed are per portion that you select. You have the option of adding this food, in the amount you selected, to the ingredients list on the Recipe Maker card. This provides you with a method of previewing the nutritive value of an ingredient before you decide to include it in your recipe. The Calorie Profile and Fat Profile buttons provide pie charts of the calorie and fat distribution, as described below.
  128.  
  129. Calorie Profile
  130. Clicking the Calorie Profile button takes you to a pie chart of the percent calories for the selected ingredient that are derived from protein, carbohydrate, fat and alcohol. In addition, the percent calories from saturated fat is listed.  The percentage of calories from fat is of particular interest.  The “typical” American diet has about 45% of its calories from fat. Health authorities recommend that no more than 30% of your calories should come from fat. To make up the difference, try eating more complex carbohydrates:  whole grain foods, for example. If you are trying to loose weight, reducing your fat consumption is the most efficient way to cut calories. Each gram of fat contains 9 calories per gram, compared with 4 per gram of protein for carbohydrate and 7 for alcohol.
  131.  
  132. Fats
  133. Clicking the Fat Profile button takes you to a pie chart showing the relative amounts of saturated, polyunsaturated, and monounsaturated fats in the diet. Health authorities recommend reducing the amount of saturated fat in your diet. However,  a high intake of polyunsaturated fats is not recommended.(1)  The 10th edition of the Recommended Daily Allowances (2) recommends an upper limit of 10 percent of dietary calories from saturated fats. A recent journal article provided evidence that monounsaturated fats, particularly oleic acid, are very beneficial (reducing LDL levels) when substituted for saturated fats in the diet. (3)
  134.  
  135. Comparing Foods
  136. The distribution of nutrients between two foods may be compared by clicking on the Compare Foods button on either the Opening or Recipe Maker cards. This brings you to the Compare Foods card.  Foods are chosen in the same manner as described for Nutrient Profiles.  The data in the tables may then be plotted, by clicking the Plot button.  Note that the blank spaces in the plot indicate the nutrient was not present in either food.
  137.  
  138. Advanced Features
  139. Customizing the Menus
  140. Adding & Deleting Categories
  141. The database of foods for Recipe Master may be expanded by adding foods. The data for existing foods may also be altered. Each category can hold up to 150 food items. To edit the menus, go the the Recipe Maker card, then click on the Edit Menus button. You will see a list of menu categories on the left side of the screen. Below the list of categories is a button, Add New Category. Clicking this button allows you to add a new category to the list. This new category will be empty. It is up to the user to add new items. Categories may also be deleted from the stack. Use the Delete Category button with caution. Once you delete the category, you cannot undo the action. 
  142.  
  143. Adding & Deleting Foods
  144. Individual foods may be deleted from any menu category. Click on the Delete Menu Item button, and you will be asked to choose a category from which to delete foods. You will then be shown the list of foods from the chosen category and asked to select those items you wish to delete. You may select several by shift-clicking. Use caution, deletions from the database cannot be undone. 
  145.  
  146. To add new items to the database, click on the button Add/Edit Menu Item, and you'll be taken to the first of two Data Entry cards.
  147. If you wish to edit an exiting item, click on the “Edit Menu Item” button. The data from the chosen item will then be displayed. You may change the data in any way you see fit. Then you have the option of replacing the original entry, or adding the item under a new name or category. 
  148.  
  149. For new foods, enter the name of the food as you want it listed in the menu in the Name field. Then you must define two portion measures. Enter the definition of portion 1 in the first line. The portion definitions should begin with a number, such as “1 each” or “1/2 cup.”  Next enter the weight of each portions, as defined, in grams. Use the calculator button to go to the Conversion Calculator if you need help converting from ounces to grams. If you only want to use one portion measure, simply repeat it for portion 2. Next, enter the data for the nutrients in the units. Note that the nutritional data you will enter should be the amounts in a single portion, as defined by Portion 1. Nutritional information on commercial food products is usually expressed this way. When you are finished with Part 1, click on the “Proceed to Part 2” button and enter the vitamin, mineral, and amino acid data. Leave blank any data that is not available. Return to Part 1 when you are done. Click “Add Food” when you are finished entering data. You will be asked to specify a user menu to add to. Click “Exit” to leave the data entry cards. The data fields will be cleared.
  150.  
  151.  
  152. Abbreviations
  153.  
  154. A    VITAMIN A
  155. AP    AS PURCHASED
  156. APPROX    APPROXIMATELY
  157. B1    VIT. B1 (THIAMIN)
  158. B2    VIT. B2 (RIBOFLAVIN)
  159. B6    VITAMIN B6
  160. B12    VITAMIN B12
  161. BARB    BARBECUE
  162. BRSD    BRAISED
  163. BX    BOX
  164. C    CUP
  165. C (in vitamin chart)    VITAMIN C
  166. CA    CALCIUM
  167. CAL    CALORIES
  168. CARB    CARBOHYDRATE
  169. CHOL    CHOLESTEROL
  170. CKD    COOKED
  171. CN    CAN
  172. CND    CANNED
  173. CNTR    CONTAINER
  174. COMMER    COMMERCIAL
  175. COND    CONDIMENTS
  176. DIAM    DIAMETER
  177. ENR    ENRICHED
  178. EQ    EQUAL
  179. FE    IRON
  180. FF    FAST FOOD
  181. FL OZ    FLUID OUNCE
  182. FOLIC    FOLIC ACID
  183. FRZ    FROZEN
  184. G OR GM    GRAM
  185. GLC    GLUCOSE
  186. HRD    HARD
  187. HYDR    HYDROGENATED
  188. IN    INCHES
  189. IU    INTERNAT’L UNITS
  190. LB    POUND
  191. LIQ    LIQUID
  192. LRG    LARGE
  193. MED    MEDIUM
  194. MG    MAGNESIUM
  195. MG    MILLIGRAMS
  196. NIAC    NIACIN
  197. NT WT    NET WEIGHT
  198. OZ    OUNCE
  199. P    PHOSPHORUS
  200. PC    PIECE
  201. PKG    PACKAGE
  202. PKT    PACKET
  203. PROT    PROTEIN
  204. QT    QUART
  205. R-T-C    READY TO COOK
  206. R-T-S    READY TO SERVE
  207. RED    REDUCED
  208. REG    REGULAR
  209. SL    SLICE
  210. SLCS    SLICES
  211. SOL    SOLIDS
  212. STK    STICK
  213. TBSP    TABLESPOON
  214. TSP    TEASPOON
  215. UNENR    UNENRICHED
  216. UNHT    UNHEATED
  217. VEG    VEGETABLE
  218. VEG-S    VEG. SHORTENING
  219. VOL    VOLUME
  220. VOL    VOLUME
  221. YLD    YIELD
  222. ZN    ZINC
  223.  
  224. About the Author
  225.  
  226. Dr. Lasky received his Ph.D. in Biochemistry from University of California at Davis in 1983, and a Master's degree in Cell Biology from San Francisco State University. He may be reached on-line at Genie (R.Lasky), Compuserve (76136,1622), or America Online (Rickster1).
  227.  
  228. 1 FAO (1977) Dietary fats and oils in human nutrition.   FAO Food and Nutrition Paper No. 3, Rome, 94 pp.
  229. 2 Recommended Dietary Allowances, 10th Ed. (1989) Committee on Dietary Allowances, Food and Nutrition Board, National Research Council, National Academy of Sciences, Washington, DC, 284 pp.
  230. 3 Grundy, S. M. (1989) Journal of Nutrition  119: 529-533.
  231.